<?php include 'includes/header.php';?>
<?php include 'includes/bar.php';?> 
<!--Start MainContent Wrapper-->
<div class="maincontentWrapper">

<?php include 'includes/sidenav.php';?>
<?php include 'includes/categorynav.php';?>
		
    <!--    <div class="miniMasthead"><img src="/assets/mcchampdeals/images/masthead.png" /></div>-->
  <!--Start ProductContainer-->
        <div class="productContainer">
        <div id="productContent">
        	<form action="<?=BASEURL?>/login" method="post">
<table width="100%" height="164" border="0" cellpadding="2" cellspacing="4">
					  <tr>
			    <td height="30" colspan="2" align="left" valign="top"><div class="barnavInner" style="width:655px">LOG IN</div> </td>
		      </tr>
	          <tr>
			            <td height="26" align="right" valign="top" style="color:black">&nbsp;</td>
			            <td valign="top" style="color:black">&nbsp;</td>
              </tr>
	          <tr>
					<td width="43%" height="26" align="right" valign="top" style="color:black">
					  Username
					  :
				    </td>
					<td width="57%" valign="top" style="color:black">
						<?php if($this->session->userdata("client_id")==null && isset($individualdeal)):?>
							<input type="hidden" name="dealId" value="<?=$individualdeal->id?>" />
						<?php endif;?>
						<input type="text" name="username" value="<?=(isset($username) )? $username : "" ?>">
				</td>
		      </tr>
			    <tr>
					<td height="30" align="right" valign="top" style="color:black">
					  Password
					  :
				    </td>
					<td width="57%" valign="top" style="color:black">
						<input type="text" name="password"  value="<?=(isset($password) )? $password : "" ?>">
					</td>
			   </tr>
			   <tr>
           		 <td></td>
			   		<td height="28" colspan="2" align="left" valign="middle" style="color:black">
						<input type="submit" name="submit" value="Log in" class="btn" />
					</td>
	      </tr>
			  </table>
		  </form>
		</div>
        <!--end of ProductContainer-->
       </div>
      <!--End of Main content Wrapper-->
      </div>
<!--end of rightpane-->
<?php include 'includes/footer.php'; ?>